package com.nbsaas.boot.customer.api.domain.request;

import com.nbsaas.boot.rest.filter.Operator;
import com.nbsaas.boot.rest.filter.Search;
import com.nbsaas.boot.rest.request.PageRequest;
import lombok.*;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
* 客户-搜索bean
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CustomerSearch   extends PageRequest implements Serializable {

/**
* 序列化参数
*/
private static final long serialVersionUID = 1L;

    /**
    * 真实姓名
    **/
    @Search(name = "realName",operator = Operator.like)
    private String realName;
    /**
    * 开始时间
    **/
    @Search(name = "lastDate",operator = Operator.ge)
    private Date lastDateBegin;
    /**
    * 来源店铺
    **/
    @Search(name = "shop",operator = Operator.eq)
    private Long shop;
    /**
    * 结束时间
    **/
    @Search(name = "lastDate",operator = Operator.le)
    private Date lastDateEnd;
    /**
    * 联系电话
    **/
    @Search(name = "phone",operator = Operator.like)
    private String phone;
    /**
    * 昵称
    **/
    @Search(name = "nickName",operator = Operator.like)
    private String nickName;
    /**
    * 客户分组
    **/
    @Search(name = "customerGroup",operator = Operator.eq)
    private Long customerGroup;
    /**
    * 客户名称
    **/
    @Search(name = "name",operator = Operator.like)
    private String name;
    /**
    * 结束时间
    **/
    @Search(name = "addDate",operator = Operator.le)
    private Date addDateEnd;
    /**
    * 开始时间
    **/
    @Search(name = "addDate",operator = Operator.ge)
    private Date addDateBegin;
    /**
    * 客户等级
    **/
    @Search(name = "customerLevel",operator = Operator.eq)
    private Long customerLevel;




}